package com.qiulingcloud.commonsserver.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

/**
 * @Author：zhangqiang
 * @Description：
 * @Date：Created in 11:51 2020/5/2
 * @Modified By：
 */
@Data
@ApiModel(value = "分页对象")
public class PageVO<T> {

    @ApiModelProperty(value = "总记录数")
    private Long totalRows;

    @ApiModelProperty(value = "总页数")
    private Long totalPages;

    @ApiModelProperty(value = "当前第几页")
    private Long pageNum;

    @ApiModelProperty(value = "当前页记录数")
    private Long pageSize;

    @ApiModelProperty(value = "数据列表")
    private List<T> list;

}
